package com.bdilab.iot.dto.roleDto;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @author WangNing
 * @version 1.0
 * @date 2020/8/1 22:05
 */
@ApiModel
@Data
public class UpdateRoleDto {

    @ApiModelProperty(value = "角色名", required = false)
    String roleName;

    @ApiModelProperty(value = "角色描述", required = false)
    String description;

    @ApiModelProperty(value = "分配权限", required = false)
    List<Long> permissions;

}
